#include"Head.h"

int main()
{
	Heap hp;
	HeapInit(&hp);
	HeapPush(&hp, 1);
	HeapPush(&hp, 4);
	HeapPush(&hp, 6);
	HeapPush(&hp, 2);
	HeapPush(&hp, 7);
	HeapPush(&hp, 5);
	HeapPush(&hp, 3);
	HeapPop(&hp);
	int a = HeapTop(&hp);
	int size = HeapSize(&hp);
	int empty = HeapEmpty(&hp);

	int arr[9] = { 1,5,4,7,8,9,2,5,5 };
	HeapSort(arr,9);

	return 0;
}